<script setup>
// script setup 语法糖
const msg = 'Hello Vue3!!!'
const logMessage = () => {
  alert('点击按钮啦')
}
</script>

<template>
  <h1>hello vue3</h1>
  <h2>{{ msg }}</h2>
  <p>666</p>
  <button @click="logMessage()">点击按钮</button>
  <button @click="msg='你好'">点击修改数据</button>
</template>

<style>
</style>
